<?php
include ("inc/head-html.php");
include_once("inc/session.php");


?>

  <script>
    function doInit(){
          dhxMainLayout.cells("b").attachObject("navig");
          dhxMainLayout.cells("c").attachObject("menu");
    }
  </script>
  <div id="navig">  
  <h2><a href="index.php">Gestion Compétition FSCF</a></h2><ul>
  </div>
  
<?php
  if ($_SESSION['ADMIN'] == 1) {
    echo '<div id="menu">';
    echo '<a href="admin.php">Administration</a><br>';
  } 
  echo '<a href="notes.php">Saisie Notes</a><br>';
  echo '</div>';


include ("inc/foot-html.php");
?>
